package com.ctgu.admin.system.validator;

import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.NotEmpty;

/**
 * 添加时的判空工具类
 */
@Data
public class ArticleValid implements Serializable {
    @NotEmpty(message = "文章标题不能为空")
    private String title;
}